package isDim;

public class dimAirport implements Comparable<dimAirport>{
	private String airportIp;
	private int evPort;
	private int esPort;
	
	public dimAirport(String ip, int evport, int esport)
	{
		airportIp = ip;
		evPort = evport;
		esPort = esport;
	}
	
	public dimAirport(String ip)
	{
		airportIp = ip;
		evPort = 0;
		esPort = 0;
	}
	
	public int get_evPort()
	{
		return evPort;
	}

	public int get_esPort()
	{
		return esPort;
	}
	
	public String get_ip()
	{
		return airportIp;
	}

	public int compareTo(dimAirport o) {
		return airportIp.compareTo(o.airportIp);
	}
}
